# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python

class Recipe(recipe.Recipe):
    name = 'fribidi'
    version = '0.19.7'
    stype = SourceType.TARBALL
    url = 'http://fribidi.org/download/fribidi-%(version)s.tar.bz2'
    licenses = [License.LGPLv2_1Plus]
    autoreconf = True
    deps = ['glib']
    patches = ['fribidi/0001-fribidi.def-Include-all-required-symbols.patch',
               'fribidi/0002-fribidi-disable-docs.patch']
    configure_options = '--enable-shared --enable-static'

    files_libs = ['libfribidi']
    files_bins = ['fribidi']
    files_devel = ['lib/pkgconfig/fribidi.pc', 'include/fribidi']
